#ifndef POWER_TRANSFER_H
#define POWER_TRANSFER_H
#include "BF7006AMxx.h"


typedef struct power_transfer_state_{
	#define SELECTION_PHASES          0
	#define ANALOG_PING_PHASES        1
	#define DIGITAL_PING_PHASES       2
	#define IDENTIFICATION_CONFIG_PHASES            3
	#define NEGOTIATION_PHASES        4
	#define CALIBRATION_PHASES        5
	#define RENEGOTIATION_PHASE       6
	#define POWER_TRANSFER_PHASES     7
	uint8_t phases;
}power_tx_state_t;

extern void power_tx_handler(void);
#endif
